package com.xayy.health.mgt.model;

import cn.kawins.mybatis.base.BaseModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.persistence.Column;
import javax.persistence.Table;
import java.sql.Timestamp;

/**
 * 4复帧+1识别字错误(AppTlmCheckAnomalRslt)实体类
 *
 * @author zhangxa
 * @since 2023-09-05 15:53:19
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "HEALTH.app_tlm_check_anomal_rslt")
public class AppTlmCheckAnomalRslt extends BaseModel<Long> {

    @Column(name = "id")
    private Long id;
    /**
     * 领域标识
     */
    @ApiModelProperty(value = "领域标识")
    @Column(name = "Field_Id")
    private String fieldId;
    /**
     * 数据时间
     */
    @ApiModelProperty(value = "数据时间")
    @Column(name = "Data_Time")
    private Timestamp dataTime;
    /**
     * 卫星标识(异常**识别字)
     */
    @ApiModelProperty(value = "卫星标识(异常**识别字)")
    @Column(name = "Satellite_Id")
    private String satelliteId;
    /**
     * 卫星名称
     */
    @ApiModelProperty(value = "卫星名称")
    @Column(name = "Satellite_Nm")
    private String satelliteNm;

    /**
     * 卫星代号
     */
    @ApiModelProperty(value = "卫星代号")
    @Column(name = "Satellite_Code")
    private String satelliteCode;
    /**
     * 异常类型码(1 识别字错误
     2 复帧
     )
     */
    @ApiModelProperty(value = "异常类型码(1 识别字错误 2复帧)")
    @Column(name = "Anomal_Cd")
    private String anomalCd;
    /**
     * 异常描述
     */
    @ApiModelProperty(value = "异常描述")
    @Column(name = "Anomal_Desc")
    private String anomalDesc;
    /**
     * 异常积日(发生积日（天）
     基准：2000-01-01:00:00:00
     )
     */
    @ApiModelProperty(value = "异常积日(发生积日（天） 基准：2000 - 01 - 01:00:00:00)")
    @Column(name = "wjd")
    private Integer wjd;
    /**
     * 异常积秒(发生当天积秒（0.1毫秒）)
     */
    @ApiModelProperty(value = "异常积秒(发生当天积秒（0.1毫秒）)")
    @Column(name = "dwjs")
    private Integer dwjs;
    /**
     * 遥测主站标识
     */
    @ApiModelProperty(value = "遥测主站标识")
    @Column(name = "dwtmsta")
    private Integer dwtmsta;
    /**
     * 来源系统(Zhongji
     通信优化改**管控
     通信一体化**管控
     )
     */
    @ApiModelProperty(value = "来源系统(Zhongji 通信优化改**管控 通信一体化 **管控)")
    @Column(name = "Src_Sys")
    private String srcSys;
    /**
     * ETL作业名
     */
    @ApiModelProperty(value = "ETL作业名")
    @Column(name = "Etl_Jab_Nm")
    private String etlJabNm;
    /**
     * ETL更新日期
     */
    @ApiModelProperty(value = "ETL更新日期")
    @Column(name = "Etl_Upd_Dt")
    private Timestamp etlUpdDt;

    @Override
    public Long idValue() {
        return id;
    }
}